projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
27e517a
)
wayland: Also emit monitors-changed when monitors are unplugged
author
Matthias Clasen
<mclasen@redhat.com>
Wed, 27 Mar 2013 01:53:41 +0000
(21:53 -0400)
committer
Matthias Clasen
<mclasen@redhat.com>
Wed, 27 Mar 2013 01:53:41 +0000
(21:53 -0400)
gdk/wayland/gdkscreen-wayland.c
patch
|
blob
|
history
diff --git
a/gdk/wayland/gdkscreen-wayland.c
b/gdk/wayland/gdkscreen-wayland.c
index cdfef56a8f1e22e5a18134c9fae2b121fa31a766..845ae141a0a4d47eddcb3db423f95f64d06007c3 100644
(file)
--- a/
gdk/wayland/gdkscreen-wayland.c
+++ b/
gdk/wayland/gdkscreen-wayland.c
@@
-962,6
+962,9
@@
_gdk_wayland_screen_remove_output_by_id (GdkScreen *screen,
if (wl_proxy_get_id ((struct wl_proxy *)monitor->output) == id)
{
g_ptr_array_remove (screen_wayland->monitors, monitor);
+
+ g_signal_emit_by_name (screen_wayland, "monitors-changed");
+ update_screen_size (screen_wayland);
break;
}
}